//引入的express
var express=require('express');
//引入controller
var indexController=require('./../controller/indexController.js');
//只执行express里面的router模块
var indexRouter=express.Router();
indexRouter.post('/getgame',indexController.getgame);
indexRouter.post('/getRecommend',indexController.getRecommend);
indexRouter.post('/getHot',indexController.getHot);
indexRouter.post('/getnewstar',indexController.getnewstar);
indexRouter.post('/getHotweek',indexController.getHotweek);
indexRouter.post('/getHottotal',indexController.getHottotal);
indexRouter.post('/getgiftweek',indexController.getgiftweek);
indexRouter.post('/getgifttotal',indexController.getgifttotal);
indexRouter.post('/getRichweek',indexController.getRichweek);
indexRouter.post('/getRichtotal',indexController.getRichtotal);
//导出模块
module.exports=indexRouter;